package com.dk.controller;

import com.sun.org.apache.regexp.internal.RE;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Description
 * @ClassName IndexController
 * @Author RC
 * @date 2020.12.07 15:00
 *66666
 */
@Controller
public class IndexController {
    //不登录也能访问
    //what are you understand?
    @RequestMapping("index")
    public String index(){
        return "index";
    }

    @RequestMapping("get")
    public String get(){
        return "list";
    }
    @RequestMapping("add")
    public String add(){
        return "add";
    }
    @RequestMapping("update")
    public String update(){
        return "update";
    }
    @RequestMapping("delete")
    public String delete(){
        return "delete";
    }
}
